package com.xidian.domain.strategy.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyAwardsEntity {
    //抽奖策略id
    private Long awardsStrategyId;
    //奖品id
    private Long awardsId;
    //该奖品对应总库存
    private Integer awardsCount;
    //该奖品剩余库存量
    private Integer awardsCountSurplus;
    //中奖概率
    private BigDecimal awardsProbability;
}
